package java67_adv6;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;

public class FileSize {

	public static void main(String[] args) throws IOException {
		File f = new File("E:\\迅雷下载\\Windows 10 x64.iso");
		System.out.println("文件的大小:" + f.length());
		FileInputStream fin = new FileInputStream(f);
		System.out.println("流可读取大小:" + fin.available());
		fin.close();
	}

}
